package cn.stylefeng.guns.modular.order.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.hx.storage.model.params.HxStoragePutDetailedParam;
import cn.stylefeng.guns.modular.order.entity.OrderOutcountXlb;
import cn.stylefeng.guns.modular.order.model.params.OrderOutcountXlbParam;
import cn.stylefeng.guns.modular.order.model.result.OrderOutcountXlbResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 新零帮出库汇总 服务类
 * </p>
 *
 * @author zhucx
 * @since 2023-09-30
 */
public interface OrderOutcountXlbService extends IService<OrderOutcountXlb> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2023-09-30
     */
    void add(OrderOutcountXlbParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2023-09-30
     */
    void delete(OrderOutcountXlbParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2023-09-30
     */
    void update(OrderOutcountXlbParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2023-09-30
     */
    OrderOutcountXlbResult findBySpec(OrderOutcountXlbParam param,Long operateId);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2023-09-30
     */
    List<OrderOutcountXlbResult> findListBySpec(OrderOutcountXlbParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2023-09-30
     */
     LayuiPageInfo findPageBySpec(OrderOutcountXlbParam param,String condition, Long operateId);

 	boolean saveBatchList(List<OrderOutcountXlbParam> list);

	OrderOutcountXlbResult checkyouwu(OrderOutcountXlbParam ch);

	void deleteBySpec(OrderOutcountXlbParam de);

}
